import { ProjectFinder } from './finder'
export class Projects {
  private static _finder: ProjectFinder = new ProjectFinder()

  static get Profiler(): ProjectFinder {
    return this._finder
  }

  static get project(): Project[] {
    return this._finder.project
  }

  static get profileKeywords(): keywordsOf<Project> {
    return this._finder.keywords
  }

  static async find(keywords: keywordsOf<Project> & { page: number } & { pageNum: number }): Promise<ServiceReturnList<Project>> {
    return this._finder.find(keywords)
  }
}
